package com.example.dynamic.aspect;

public class LogForService {
    public void before(String methodName) {
        // 执行目标方法之前
        System.out.println("service: "+ methodName + "执行前");
    }

    public void after(String methodName) {
        // 执行目标方法之后
        System.out.println("service: " + methodName + "执行完");
    }
}
